package com.rdxer.repository;

import com.rdxer.model.Major;
import com.rdxer.model.QuestionOption;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;


public interface QuestionOptionRepository extends JpaRepository<QuestionOption,String>,JpaSpecificationExecutor<QuestionOption>{

    List<QuestionOption> findAllByQuestionId(String id);
}
